<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:if test="${fn:contains(privilege,'systemMenu')}">
	<div class="menu-box">
		<div class="menu-title">系统管理</div>
		<ul class="menu">
			<li>
				<div class="title">
					<i class="icon gao"></i> <span href="" class="menu-name">系统管理</span>
					<span class="arrow">></span>
				</div>
				<ul class="submenu">
					<c:if test="${fn:contains(privilege,'sys_user')}">
						<li><a
							href="${pageContext.request.contextPath}/v2sysuser/sysuserList.html"
							target="main"> <span href="" class="menu-name">用户管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if>
					<c:if test="${fn:contains(privilege,'sys_role')}">
						<span class="arrow"></span>
						<li><a
							href="${pageContext.request.contextPath}/v2sysrole/sysroleList.html?start=0"
							target="main"> <span class="menu-name">角色管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if>
					<c:if test="${fn:contains(privilege,'sys_privilege')}">
						<li><a
							href="${pageContext.request.contextPath}/v2Sysauthority/v2sysauthorityList.html"
							target="main"> <span class="menu-name">权限管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if>
					<c:if test="${fn:contains(privilege,'sys_resource')}">
						<li><a
							href="${pageContext.request.contextPath}/v2Sysresource/v2sysresourceList.html"
							target="main"> <span class="menu-name">资源管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if>
					<%-- <c:if test="${fn:contains(privilege,'sys_department')}">
						<li><a
							href="${pageContext.request.contextPath}/v2Department/departmentList.html"
							target="main"> <span class="menu-name">部门管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if> --%>
					<c:if test="${fn:contains(privilege,'sys_dic')}">
						<li><a
							href="${pageContext.request.contextPath}/v2DicTypeTwo/v2DicTypeListTwo.html"
							target="main"> <span class="menu-name">字典管理</span> <span
								class="arrow">></span> <i class="icon01"></i>
						</a></li>
					</c:if>
				</ul>
			</li>
		</ul>
	</div>
</c:if>
<c:if test="${fn:contains(privilege,'xiaoka_site_manage')}">
	<div class="menu-box">
		<div class="menu-title">后台管理</div>
		<ul class="menu">
			<li>
				<div class="title">
					<i class="icon cang"></i> <span href="" class="menu-name">内容管理</span>
					<span class="arrow">></span>
				</div>
				<ul class="submenu">
					<li><a
						href="${pageContext.request.contextPath}/siteArticle/articleIndex.html"
						target="main"> <span href="" class="menu-name">内容中心</span> <span
							class="arrow"></span> <i class="icon01"></i>
					</a></li>
				</ul>
			</li>

			<li>
				<div class="title">
					<i class="icon cang"></i> <span href="" class="menu-name">栏目管理</span>
					<span class="arrow">></span>
				</div>
				<ul class="submenu">
					<li><a
						href="${pageContext.request.contextPath}/siteNode/siteNodeList.html?start=0"
						target="main"> <span href="" class="menu-name">栏目管理</span> <span
							class="arrow"></span> <i class="icon01"></i>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/siteNodeType/siteNodeTypeList.html?start=0"
						target="main"> <span href="" class="menu-name">栏目分类管理</span> <span
							class="arrow"></span> <i class="icon01"></i>
					</a></li>
				</ul>
			</li>
			<%-- <li>
				<div class="title">
					<i class="icon cang"></i> <span href="" class="menu-name">功能管理</span>
					<span class="arrow">></span>
				</div>
				<ul class="submenu">
					<li><a
						href="${pageContext.request.contextPath}/siteCarousel/siteCarouselList.html?"
						target="main"> <span href="" class="menu-name">轮播图管理</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
					

				</ul>
			</li> --%>
			<li>
				<div class="title">
					<i class="icon cang"></i> <span href="" class="menu-name">功能管理</span>
					<span class="arrow">></span>
				</div>
				<ul class="submenu">
					<li><a
						href="${pageContext.request.contextPath}/complaint/businessCircleComplaintList.html"
						target="main"> <span href="" class="menu-name">信访投诉</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/interaction/businessCircleInteractionList.html"
						target="main"> <span href="" class="menu-name">商圈互动</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/area/areaList.html"
						target="main"> <span href="" class="menu-name">商圈区域</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/shop/shopList.html"
						target="main"> <span href="" class="menu-name">店铺管理</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/car/carList.html"
						target="main"> <span href="" class="menu-name">停车场信息管理</span> <span
							class="arrow">></span> <i class="icon01"></i>
					</a></li>
				</ul>
			</li>
		</ul>
	</div>
</c:if>